package com.tgz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author hsj
 * @description:
 * @date 2022/12/22 17:36
 */
@Data
@Component
@ConfigurationProperties(prefix = "my-var.websocket")
public class MyVar {
    private String topic;
    private String endpoint;
//    private String url;
    private String topicUser;
    private String topicUserChannel;
    private String endpointUser;
}
